package StudyCode.summary.Basic;

import java.util.Arrays;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public interface CompareTwoBooleanArrays {

	public static void main(String[] args) {
		boolean[] blnArray1 = new boolean[]{true, false, true, true};
		boolean[] blnArray2 = new boolean[]{true, false, true};
		boolean[] blnArray3 = new boolean[]{true, false, true};
		System.out.println("blnArray1 跟 blnArray2 是否相等: " + Arrays.equals(blnArray1, blnArray2));
		System.out.println("blnArray2 跟 blnArray3 是否相等: " + Arrays.equals(blnArray2, blnArray3));
	}
}
